package org.mspring.mlog.service;

import org.mspring.mlog.entity.Job;
import org.mspring.platform.persistence.hibernate.BaseDao;

/**
 * 
 * @author Gao Youbo
 * @since 2013-06-18 16:34:42
 */
public interface JobService extends BaseDao<Job, java.lang.Long> {

    /**
     * @param enabled
     * @param id
     */
    void setEnabled(boolean enabled, Long... id);

    /**
     * @param ids
     * @param expressions
     */
    void setExpressions(Long[] ids, String[] expressions);

    /**
     * @param ids
     * @param execTypes
     */
    void setExecTypes(Long[] ids, String[] execTypes);

    /**
     * @param id
     */
    void reloadJobServer(Long id);

    /**
     * @param job
     */
    void reloadJobServer(Job job);

    /**
     * 
     */
    void loadJobServer();

}